package com.samphanie.auiu.pub_mod.model

import com.samphanie.auiu.pub_mod.model.GoodsModel
import com.samphanie.auiu.pub_mod.model.SliderImage

/**
 * @author ZSY
 */
data class GoodsDetailModel(
    val id: String,
    val goodsName: String,
    val goodsAttr: List<MutableMap<String, String>>?,
    val goodsDesc: String?,
    val cateId: String,
    val hot: Boolean,
    val sliderImage: String,
    val sliderImages: List<SliderImage>?,
    val marketPrice: String,
    val groupPrice: String,
    val completedNumText: String,
    val tags: String,
    val commentCountTitle: String,
    val commentTags: String,
    val commentModels: List<CommentModel>?,
    val shop: Shop?,
    val flowGoods: List<GoodsModel>?,
    val gallery: List<SliderImage>?,
    val similarGoods: List<GoodsModel>?,
    val isFavorite: Boolean,
    val createTime: String
)

data class CommentModel(
    val avatar: String,
    val nickname: String,
    val content: String
)

data class Shop(
    val name: String,
    val logo: String,
    val goodsNum: Int,
    val completedNum: String,
    val evaluation: String?
)

data class GoodsFavorite(val goodsId: String, val isFavorite: Boolean)